export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 6,
  searchLabelWidth: 100,
  searchShow: false,
  viewBtn: true,
  column: [
    {
      label: '姓名',
      prop: 'userName',
      search: true,
      formslot: true,
      searchslot: true,
      span: 12,
      display: true
    },
    {
      type: 'input',
      label: '所在单位',
      prop: 'unitName',
      search: true,
      span: 12
    },
    {
      type: 'input',
      label: '职 务',
      prop: 'post',
      search: true,
      span: 12
    },
    {
      type: 'date',
      label: '开始日期',
      prop: 'startDate',
      span: 12,
      display: true,
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      search: true,
      searchSpan: 12,
      searchRange: true
    },
    {
      type: 'date',
      label: '结束日期',
      prop: 'endDate',
      span: 12,
      display: true,
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      search: true,
      searchSpan: 12,
      searchRange: true
    }
  ]
}
